package com.eshealthy.service;

import com.eshealthy.entity.Cases;
import com.eshealthy.entity.Patient;
import com.eshealthy.entity.PatientSchedule;

import java.io.IOException;
import java.sql.Date;
import java.util.List;


public interface PatientService {
   Patient login(Patient patient);

    void register(Patient patient);
    List<PatientSchedule>find(Integer page,Integer rows,Integer id);
    void addSchedule(String pid, String did, String schedule);

    Integer findTotalsSchedule(Integer id);

    List<Cases> findCases(Integer page, Integer rows,String pid) throws IOException;

    Integer findTotalsCase(String pid) throws IOException;
}
